<template>
	<view class="content">
		<view class="top-user-out">
			<view class="top-user">
				<view class="top-user-infos">
					<image class="user-img" src="http://hgry.oss-cn-hangzhou.aliyuncs.com/imgs/imgs/Bitmap10%402x.png"></image>
					<view class="user-name">用户昵称</view>
					<view class="user-text">个人资料</view>
					<image class="infos-right" src="http://hgry.oss-cn-hangzhou.aliyuncs.com/imgs/imgs/chevron%402x.png"></image>
				</view>
			</view>
		</view>
		<view class="items">
			<view class="item-boxs">
				<view class="item-name">账号与安全</view>
				<image class="items-right" src="http://hgry.oss-cn-hangzhou.aliyuncs.com/imgs/imgs/chevron%402x.png"></image>
			</view>
			<view class="item-boxs" @tap="goShiming()">
				<view class="item-name">实名认证</view>
				<image class="items-right" src="http://hgry.oss-cn-hangzhou.aliyuncs.com/imgs/imgs/chevron%402x.png"></image>
			</view>
			<view class="item-boxs">
				<view class="item-name">清除缓存</view>
				<image class="items-right" src="http://hgry.oss-cn-hangzhou.aliyuncs.com/imgs/imgs/chevron%402x.png"></image>
			</view>
			<view class="item-boxs">
				<view class="item-name">意见反馈</view>
				<image class="items-right" src="http://hgry.oss-cn-hangzhou.aliyuncs.com/imgs/imgs/chevron%402x.png"></image>
			</view>
		</view>

		<view class="others">
			<view class="item-boxs" @tap="goAboutUs()">
				<view class="item-name">关于我们</view>
				<view class="huancun">5.00MB</view>
				<image class="items-right" src="http://hgry.oss-cn-hangzhou.aliyuncs.com/imgs/imgs/chevron%402x.png"></image>
			</view>
			<view class="item-boxs">
				<view class="item-name">检查更新</view>
				<view class="new-banben" v-if="banben">有新版本</view>
				<image class="items-right" src="http://hgry.oss-cn-hangzhou.aliyuncs.com/imgs/imgs/chevron%402x.png"></image>
			</view>
		</view>
		<view class="login-out">退出登录</view>
	</view>
</template>

<script>
	export default {
		components: {},
		data() {
			return {
				banben: true
			}
		},
		onLoad() {

		},
		methods: {
			goShiming() {
				uni.navigateTo({
					url: '../mine-shiming/mine-shiming'
				})
			},
			goAboutUs(){
				uni.navigateTo({
					url: '../mine-about/mine-about'
				})
			}
		}
	}
</script>

<style>
	page {
		background: rgba(245, 245, 245, 1);
	}

	.content {
		width: 100%;
		height: 100%;
	}
	
	
	.top-user-out {
		width: 100%;
		height: 72.5px;
		padding-top: 10px;
	}
	.top-user {
		width: 100%;
		height: 62.5px;
		background: rgba(255, 255, 255, 1);
	}

	.top-user-infos {
		width: 100%;
		height: 100%;
		display: flex;
		position: relative;
	}

	.user-img {
		width: 45px;
		height: 45px;
		margin: 10px;
	}

	.infos-right {
		width: 14.5px;
		height: 14.5px;
		position: absolute;
		right: 15px;
		top: 24px;
	}

	.items-right {
		width: 14.5px;
		height: 14.5px;
		position: absolute;
		right: 15px;
		top: 18px;
	}

	.user-name {
		position: absolute;
		left: 70px;
		line-height: 62.5px;
		height: 62.5px;
		font-size: 14px;
		font-family: PingFangSC-Regular, PingFangSC;
		font-weight: 400;
		color: rgba(51, 51, 51, 1);
	}

	.user-text {
		position: absolute;
		right: 35px;
		line-height: 62.5px;
		font-size: 14px;
		font-family: PingFangSC-Regular, PingFangSC;
		font-weight: 400;
		color: rgba(51, 51, 51, 1);
	}

	.items {
		width: 100%;
		height: 100%;
		background: rgba(255, 255, 255, 1);
	}

	.item-boxs {
		height: 50px;
		line-height: 50px;
		background: rgba(255, 255, 255, 1);
		display: flex;
		flex-wrap: wrap;
		position: relative;
		margin-left: 10px;
		border-bottom: 1px solid rgba(238, 238, 238, 1);
	}

	.item-name {
		height: 50px;
		position: absolute;
		left: 15px;
		font-size: 14px;
		font-family: PingFangSC-Regular, PingFangSC;
		font-weight: 400;
		color: rgba(51, 51, 51, 1);
	}

	.others {
		margin-top: 27.5px;
		height: 100%;
		width: 100%;
		background: rgba(255, 255, 255, 1);
	}

	.huancun {
		height: 50px;
		line-height: 50px;
		position: absolute;
		right: 40px;
		font-size: 14px;
		font-family: PingFangSC-Regular, PingFangSC;
		font-weight: 400;
		color: rgba(153, 153, 153, 1);
	}

	.new-banben {
		height: 50px;
		line-height: 50px;
		right: 40px;
		font-size: 14px;
		font-family: PingFangSC-Regular, PingFangSC;
		font-weight: 400;
		color: rgba(0, 0, 0, 1);
		position: absolute;
	}

	.login-out {
		width: 100%;
		height: 46px;
		line-height: 46px;
		background: rgba(255, 255, 255, 1);
		font-size: 17px;
		font-family: PingFangSC-Regular, PingFangSC;
		font-weight: 400;
		color: rgba(51, 51, 51, 1);
		text-align: center;
		position: absolute;
		bottom: 0;
	}
</style>
